import request from "@/utils/request";
//发送验证码
export const sendMsg = (data) => request.post('/user/sendMsg', data)

//登录
export const login = (data) => request.post('/user/login', data)

//获取用户信息
export const getUserInfo = (phone) => request.get(`/user/getUserInfo/${phone}`)